const mongoose = require('mongoose');
const schema = new mongoose.Schema({
    iamge: {
        type: String,
        default: 'null'
    },
    title:{
        type: String,
        default: '标题'
    },
    sort:{
        type: Number,
        default: 0
    },
    is_show: {
        type: Boolean,
        default: true
    }
});
module.exports = mongoose.model('Category', schema);